using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Apache.NMS;
using System.Globalization;
using System.Threading;

namespace SimpleServiceBus.Endpoints.ActiveMQ {

    public static class ActiveMQHelper {

        //-----< Fields >-----
        //----------------------------------------------------------------------------------        


        //-----< Constructors >-----
        //----------------------------------------------------------------------------------        


        //-----< Public and protected properties >-----
        //----------------------------------------------------------------------------------        


        //-----< Public and protected methods >-----
        //----------------------------------------------------------------------------------        

        public static ActiveMQTransactionScope BeginScope(this IConnection connection) {
            return new ActiveMQTransactionScope(connection);
        }

        public static ActiveMQTransactionScope BeginScope(this ISession session) {
            return new ActiveMQTransactionScope(session);
        }

        //-----< Events >-----
        //----------------------------------------------------------------------------------        


        //-----< Internal members >-----
        //----------------------------------------------------------------------------------        


        //-----< Private members >-----
        //----------------------------------------------------------------------------------        


        //-----< All nested types >-----
        //----------------------------------------------------------------------------------        


        //-----< All explicit interface implementations >-----
        //----------------------------------------------------------------------------------        


    }
}

